home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / getdev.z / getdev
Encoding:
Text File  |  2002-10-03  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttddddeeeevvvv((((3333GGGG))))                                                          ggggeeeettttddddeeeevvvv((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttddddeeeevvvv - reads a list of valuators at one time
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ggggeeeettttddddeeeevvvv((((nnnn,,,, ddddeeeevvvvssss,,,, vvvvaaaallllssss))))
  13.      lllloooonnnngggg nnnn;;;;
  14.      DDDDeeeevvvviiiicccceeee ddddeeeevvvvssss[[[[]]]];;;;
  15.      sssshhhhoooorrrrtttt vvvvaaaallllssss[[[[]]]];;;;
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _n      expects the number of devices named in the _d_e_v_s array (no more
  19.             than 128).
  20.  
  21.      _d_e_v_s   expects an array containing the device identifiers (device number
  22.             constants, such as MOUSEX, BPADX, LEFTMOUSE, etc.) of the devices
  23.             you want to read.  This array can contain up to 128 devices.
  24.  
  25.      _v_a_l_s   expects the array into which you want the system to write the
  26.             values read from the devices listed in the _d_e_v_s array.  Each
  27.             member in the _v_a_l_s array corresponds to a member of the _d_e_v_s
  28.             array.  Thus, the value at _v_a_l_s[_3] was read from the device named
  29.             in _d_e_v_s[_3].
  30.  
  31. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  32.      ggggeeeettttddddeeeevvvv allows you to read as many 128 valuators and buttons (input
  33.      devices) at one time.
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      getbutton, getvaluator
  37.  
  38. NNNNOOOOTTTTEEEE
  39.      This routine is available only in immediate mode.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.